# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlr-randr
pkgver=0.3.1
pkgrel=0
pkgdesc="Utility to manage outputs of a Wayland compositor"
url="https://sr.ht/~emersion/wlr-randr/"
license="MIT"
arch="all"
makedepends="meson wayland-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/wlr-randr/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
68ff724719d766d62a4e0a91c115156235061887bb3ec3e44e534cf1924e95525954c72773d4015fc8de083158d64f3fb299d3fc8e8133e2139de0a265dc4256  wlr-randr-0.3.1.tar.gz
"
